/*
 *  CCNodeContollerProxy.h
 *  cocos3d-x
 *
 *  Created by Yezhiyong on 12-4-23.
 *  Copyright 2012 __MyCompanyName__. All rights reserved.
 *
 */

#ifndef __NODECONTROLLERPROXY_H__
#define __NODECONTROLLERPROXY_H__

#include "cocos2d.h"

class CCNodeControllerProxy
{
public:
	CCNodeControllerProxy();
	~CCNodeControllerProxy();
	
	cocos2d::CCNode* getControlledNode();
	void setControlledNode(cocos2d::CCNode* aNode);
	
	void runSceneOnNode(cocos2d::CCNode* aNode);
	
	bool getIsOverlayingDeviceCamera();
	
	void doesAutoRotate(bool bAutoRotate);
	
	static CCNodeControllerProxy& sharedController();
	static void destroyController();
};

#endif //__NODECONTROLLERPROXY_H__